

html {
	scroll-behavior: smooth;
}


html,body {
	font-family: "Gill Sans MT", "Myriad Pro", Helvetica, Arial, "sans-serif";
	font-size:15px;
	letter-spacing:1px;
	line-height:20pt;
	color:white;
	min-width:320px;
}

:root {
	--menu-count: 5;
}


body{
	
	
	background-color: #3f3f3f;
}

.mobile-menu-btn{
	display: none;
}

.header-main {
	width: 100%;
	padding: 0 60px;
	height: 60px;
	background-color: #919191;
	display: flex;
	justify-content: space-between;
	position: fixed;
	top: 0;
	z-index: 10;
	margin-top: 20px;
	
	
	
}

.header-main nav {
	display: flex;
}


.header-main .logo{
	height: 40px;
	width: fit-content;
	align-self: center;
	cursor: pointer;
	
}


.header-main .logo img {
	height: 100%;
	
}

.header-main ul {
	height: 100%;
	padding-left: 40px;
	list-style: none;
	display: flex;
	align-self: center;
}

.header-main ul li {
	position: relative;
}



.header-main ul li a {
	display: block;
	padding: 0 10px;
	height: 100%;
	line-height: 60px;
	font-size: 1rem;
	font-family: Verdana, sans-serif;
	color: white;
	background-color:  hsla(0,0%,57%,0.67);
	text-transform: uppercase;
	cursor: pointer;
	transition: all ease-in-out 100ms; 
	text-decoration: none;
	
		
}

.header-main ul li a:hover {
	background-color: white;
	color: #b92b31;
		
}

/*DROP DOWN MENU*/

.header-main ul li ul {
  visibility: hidden;
  opacity: 0;
  display: none;
  position: absolute;
  top: 100%; /* sits directly below parent <li> */
  left: 0;
  transition: all 200ms ease-in-out;
  background-color: white; /* make sure it's visible */
  z-index: 9999;
  padding: 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1); /* optional style */
}


.header-main ul li ul li a {
	white-space: nowrap;
	
	
}

ul li:hover>ul {
	visibility: visible;
	opacity: 1;
	display: block;
	
}


.header-main ul li:hover > ul {
  display: block;
  visibility: visible;
  opacity: 1;
}




.header-main .sm {
	align-self: center;
	display: flex;
	
}

.header-main form {
	height: 40px;
	padding-right: 5px;
	display: flex;
	
	border-radius: 20px 100px 100px 20px;
	width: fit-content;
	align-self: center;
}

.header-main form input {
	height: 100%;
	width: 300px;
	padding: 0 10px 0 20px;
	border-radius: 5px;
	font-size: 1rem;
	font-family: Verdana, sans-serif;
}

.header-main form input:focus {
	border: 1px solid #111;
}


.header-main form button {
 border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}



.header-main form button img {
  height: 24px;
  width: auto;
  display: block; /* avoids inline spacing */
  padding: 0;
  margin: 0;
}



 

.header-main .sm-links {
	height: 60px;
	width: fit-content;
	display: flex;
	align-items: center;
}

.header-main .sm-links a {
	display: block;
	height: 30px;
	margin-left: 10px;
	cursor: pointer;
	align-self: center;
}

.header-main .sm-links img {
	height: 30px;
	margin-left: 10px;
	cursor: pointer;
	align-self: center;
	
}




@media only screen and (max-width:1023px) {
	
	.header-main {
		display: none;
	}
	
	.mobile-menu-btn {
		display: flex;
		justify-content: center;
		width: 60px;
		height: 60px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 200;
		background-color: white;
	}
	
	.mobile-menu-btn img {
		height: 80%;
		align-self: center;
		
		
	}
	
	
	.header-main {
		height: 100vh;
		flex-wrap: wrap;
		flex-direction: column;
		padding: 0;
		justify-content: flex-start;
	}
	
	.header-main nav {
		width: 100%;
		height: 80vh;
		flex-wrap: wrap;
		flex-direction: column;
		align-content: stretch;
	}
	
	.header-main .logo {
		height: 30%;
		padding: 0;
		margin: 0;
		display: flex;
		align-items: center;	
		
	}
	
	.header-main .logo img {
		height: 60%;
		align-self: center;
		
	}
	
	.header-main ul {
		height: 70%;
		width: 100%;
		padding: 0;
		margin: 0;
		flex-wrap: wrap;
		flex-direction: column;
		align-content: space-between;
	}
	
	.header-main ul li {
		width: 100%;
		height: calc(100% / var(--menu-count));
		padding: 0;
		margin: 0;
		/*giving all menue items a border on top*/
		border-top: 1px #ddd;
		/*fex is set with nowrap and column, to make the dropdown
		go below the gallery, and justify-content instead since we are using 
		column to center the text*/
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		transition: all ease-in-out 100ms;
	}
	
	.header-main ul li:nth-last-child(1){
		border-bottom: 1px #ddd;
	}
	
	.header-main ul li a { 
	width: 100%;
	height: fit-content;
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 2.5rem;
	}
	
	.header-main ul li a:hover {
		background-color: transparent;
		color: #111;
	}
	
	.header-main nav {
		overflow-y: scroll;
		overflow-x: hidden;
	}
	
	.header-main ul li ul {
		display: none;
		flex-wrap: nowrap;
		flex-direction: column;
		position: absolute;
		top: 100%;
		z-index: 9999;
		left: 0;
	}
	.header-main ul li ul li {
		height: fit-content;
		display: block;
		background-color: #111;
	}
	
	.header-main ul li ul li a{
		background-color: #111;
		color: #fff;
	}
	
	.header-main ul li ul li a:hover {
		background-color: #111;
		color: #fff;
	}
	
	.header-main ul li:focus>ul,
	.header-main ul li:hover>ul{
		display: flex;
		visibility: visible;
		opacity: 1;
	}
	
	.header-main .sm {
		width: 100%;
		height: 20vh;
		margin: 0;
		padding: 0;
		flex-wrap: wrap;
		flex-direction: column;
	}
	
	.header-main form {
		padding-right: 0;
		width: 90%;
		height: 40%;
		overflow: hidden;
		background-color: white;
	}
	
	.header-main form input {
  background-color: transparent;
  border: none;
  outline: none;
  border-radius: 0;
}
	
	
	.header-main form button {
  all: unset;              /* 🔥 nukes ALL browser styling */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
	
	.header-main form button img {
		height: 5vh;
		padding-top: 15%;
		
	}
	
	.header-main .sm-links {
		height: 50%;
		width: 100%;
		margin: 0;
		padding: 0;
		justify-content: center;
	}
	
	.header-main .sm-links a {
		height: 60%;
		margin: 0 2%;
		padding: 0;
	}
	
	
}



/* END OF DROP DOWN MENU SYLING*/





/* HERO IMAGE*/

/* Container holding the image and the text */
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container img {
	opacity: 65%;
}

.container h1 {
	font-weight: 10;
	
}

/*END OF HERO IMAGE STYLING*/

/* SCROLL EFFECTS*/


.image{
  width: 330px;
  height: auto;
  border-radius: 2px;
  margin-top: 50px;
}

@keyframes enter-animation {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .image-animation {
    animation: enter-animation 0.8s 1;
  }
}

/*END OF SCROLL EFFECTS STYLING*/







/* ===== HOME PAGE GALLERY LAYOUT ===== */
h1 {
  text-align: center;
  font-weight: 100;
  margin: 40px 0 30px;
}



.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

.homeimage {
  width: 300px; /* fixed, consistent size */
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.homeimage {
  position: relative;
  width: 300px;
  flex: 0 0 300px; /* prevents stretching/shrinking */
  overflow: hidden;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 18px;
  padding: 18px;
  text-align: center;

  opacity: 0;
  transform: translateY(20px); /* start slightly lower */
  transition: all 0.4s ease;
}

.homeimage:hover .overlay {
  opacity: 1;
  transform: translateY(0); /* slide up into place */
}

/* Responsive */
@media screen and (max-width: 500px) {
  .row {
    grid-template-columns: 1fr;
  }
  .homeimage {
    width: 90%;
  }
}
/*END OF HOME PAGE STYLING*/












/*"CONTACT" PAGE*/

html {
	box-sizing: border-box;
	
	}
*, *:before, *:after {
  box-sizing: inherit;
}




/* Three columns side by side */
.column_contact {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 650px) {
  .column_contact {
    width: 70%;
    display: block;
  }
}
 

/* Add some shadows to create a card effect */
.card_contact {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	width: auto;
}

/* Some left and right padding inside the container */
.container_contact {
  padding: 0 16px;
}

/* Clear floats */
.container_contact::after, .row::after {
  content:"";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
	
}
.button a {
	color: white;
	text-decoration: none;
	
}

.button:hover {
  background-color: #555;
  
}


/*from black and white to color when hoverd over*/
.card_contact  img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
	padding-left: 100px;
	padding-top: 50px;
}



.card_contact img:hover {
    filter: none;
    -webkit-filter: grayscale(0);
}




/*END OF "CONTACT" PAGE STYLING*/


/*"ARTIST" PAGE STYLING*/



.row3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* keeps grid centered */
  gap: 30px;                 /* THIS controls ALL spacing */
  padding: 30px;             /* space around entire grid */
}

/* columns */
.column3 {
  flex: 1 1 280px;           /* responsive columns */
  max-width: 420px;
  padding: 0;                /* REMOVE all padding */
}

/* images */
.column3 img {
  width: 100%;               /* fill container */
  margin: 0;                 /* REMOVE margin-top */
  display: block;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column3 {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column3 {
    flex: 100%;
    max-width: 100%;
  }
}










.column_an {
  float: left;
  width: 33.33%;
 padding-left: 140px;	
}

/* Clear floats after the columns */
.row_an:after {
  content: "";
  display: table;
  clear: both;
  	
}



/* Responsive layout - when the screen is less than 600px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column_an {
    width: 100%;
  }
}


.artist-item a {
  color: white;              /* your text color */
  text-decoration: none;     /* remove underline */
  display: block;            /* wrap image + text cleanly */
}

.artist-item a:hover {
  color: #f0f0f0;            /* optional hover color */
  text-decoration: underline; /* optional hover on hover only */
}


/*END OF THE "ARTISTS" PAGE STYLING*/



/*HOVER EFFECT*/

.hover01 img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover01 :hover img {
	-webkit-transform: scale(1.3);
	transform: scale(0.88);
}

.column_an a {
	text-decoration: none;
	color: white;
	
	
}




/* INDIVIDUAL ARTIST PAGE  PAGE*/








.container2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px; /* consistent spacing between rows and columns */
  max-width: 1200px; /* controls overall grid width */
  margin: 0 auto; /* centers the grid on the page */
  padding: 40px 20px;
  box-sizing: border-box;
}

.grid-item {
  text-align: center;
}

.grid-item figure {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
	object-fit: scale-down;
	aspect-ratio: 2 / 2;
}
  
figcaption {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}


.fraction {
  font-size: 0.8em;
  vertical-align: middle;
}




@media (max-width: 1024px) {
  .container2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container2 {
    grid-template-columns: 1fr;
  }
}

.grid-item img {
  transition: transform 0.3s ease;
}
.grid-item img:hover {
  transform: scale(1.03);
}





figure {
	text-align: center;
  float: left;
  width: 100%;
  text-indent: 0;
  font-size: 15px;
  color: white;
  margin: -3em;
  padding: 0.25px;

	padding-bottom: 2em;
	
}



.artist-link {
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.artist-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.artist-link:hover::after {
  width: 100%;
}

.artist-link::after {
  bottom: -2px;
  height: 1px;
  opacity: 0.8;
}




.bio {
	margin: 25px 50px 75px 100px;
}

.bio_img {
	margin: 25px 50px 75px 100px;
}


/*page numbers*/

.page-numbers {
	text-align: center;
	cursor: pointer;
	
}


.page-numbers a {
   text-decoration: none;
	color: white;
}




/*END OF INDIVIDUAL ARTIST PAGE STYLING*/




/*EXHIBITS PAGE*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
	
	
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}



/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


.bottom-right_exh {
  position: absolute;
  bottom: 8px;
  right: 16px;
}
/*current exhibit with image and discription*/

.textimageblockwrap {
  display: flex;
  flex-wrap: wrap;
}

.imagebox_desc, .textbox_desc {
  flex: 1 1 100%;
  box-sizing: border-box;
}

.imagebox_desc {
  display: flex;
	
}

.blockimg {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.textbox_desc {
  padding: 1rem;
  display: flex;
  justify-content: center; /* Center horizontally */
  margin: auto; /* Center the box relative to its container */
	margin-right: 10px;
}

/* Media query for larger screens */
@media (min-width: 600px) {
  .imagebox_desc, .textbox_desc {
    flex: 1;
  }

  .textimageblockwrap {
    align-items: stretch; /* Ensure items are the same height */
  }

  .blockimg {
    height: 100%;
    object-fit: contain; /* Cover the container while preserving aspect ratio */
  }
}

/* END OF EXHIBITS PAGE*/


/*SCROLL TO THE TOP BUTTON*/

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #3f3f3f; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
/* END OF SCROLL TO THE TOP BUTTON*/


/*FOOTER */

.footer {
  
  width: 100%;	
  background-color: rgba(142,140,140,0.72);
  color: white;
  text-align: center;
	padding: 1em 0;
	text-decoration: none;
	
 
}





/*END OF FOOTER STYLING*/




/*MAILNING LIST BUTTON STYLING*/


.signup {
    width: 100%;
    padding: 10px;
}

.custom-btn a {
  text-decoration: none;
  color: firebrick;
}

.custom-btn a:visited {
  color: firebrick;
}


/* 3 */
.btn-3 {
  background: rgb(grey);
background: linear-gradient(0deg, rgba(grey) 0%, rgba(grey) 100%);
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;

  
}
.btn-3 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-3:before,
.btn-3:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
   background: rgba(grey);
  transition: all 0.3s ease;
	
}
.btn-3:before {
  height: 0%;
  width: 2px;
}
.btn-3:after {
  width: 0%;
  height: 2px;
}
.btn-3:hover{
   background: transparent;
  box-shadow: none;
}
.btn-3:hover:before {
  height: 100%;
}
.btn-3:hover:after {
  width: 100%;
}
.btn-3 span:hover{
   color: rgba(221,42,45,1.00);
}
.btn-3 span:before,
.btn-3 span:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
   background: rgba(221,42,45,1.00);
  transition: all 0.3s ease;
}
.btn-3 span:before {
  width: 2px;
  height: 0%;
}
.btn-3 span:after {
  width: 0%;
  height: 2px;
}
.btn-3 span:hover:before {
  height: 100%;
}
.btn-3 span:hover:after {
  width: 100%;
}




/*END OF MAILING LIST BUTTON STYLING */

